export const permissionModule = [
    {
        path: "/permissionManagement",
        component: () => import("@/layout/index.vue"),
        redirect:{name:'institution'},
        meta:{
            title:'权限管理',
            icon:'el-icon-document'
        },
        children:[
            {
                path:'institution',
                component:()=>import('@/views/permissionManagement/institution.vue'),
                name:'institution',
                meta:{
                    title:'机构管理',
                    icon:'el-icon-document'
                }
            },
            // 角色管理
            {
                path:'role',
                component:()=>import('@/views/permissionManagement/role.vue'),
                name:'role',
                meta:{
                    title:'角色管理',
                    icon:'el-icon-document'
                }

            },
            // 成员管理
            {
                path:'member',
                component:()=>import('@/views/permissionManagement/member.vue'),
                name:'member',
                meta:{
                    title:'成员管理',
                    icon:'el-icon-document'
                }
            },
            // 修改密码
            {
                path:'changePassword',  
                component:()=>import('@/views/permissionManagement/changePassword.vue'),
                name:'changePassword',
                meta:{
                    title:'修改密码',
                    icon:'el-icon-document'
                }
            }
        ]
    }
]